package cn.shutdown.demo.thread.interrupt;

/**
 * @author jiangwujie
 * @date 2021/8/9
 */
public class InterruptTest1 {
    public static void main(String[] args) {
        Thread.currentThread().interrupt();

        System.out.println("interrupted:" + Thread.interrupted());
        System.out.println("interrupted:" + Thread.interrupted());
    }
}
